﻿using BootstrapBlazor.Components;
using BPM.Web.Shared.Data;

namespace BPM.Web.Shared.Service;

public interface ISysAuthService
{
    Task<XnRestfulResult<string>> LoginAsync(LoginInput input);
    Task<LoginOutput?> GetLoginUserAsync();
    Task<(IEnumerable<MenuItem>, IEnumerable<MenuItem>)> GetLoginUserDataAsync();
    Task LogoutAsync();
}
